<!--MYORDER-->
<div ng-include="'tpl/header.html'"></div>

<div class="container mb">
  <div ng-show="lists" class="alert alert-success">
    {{emg}}{{ddh}}。<br>您可以在用户中心查看所有提交成功的订单！
    <a id="ucenter" ng-click="dds(1)">立即前往用户中心</a>
  </div>
  <div ng-hide="lists">
    <h3>请输入您的电话号码查询：</h3>
    <input ng-model="tel" type="text">
    <a ng-click="dds()" class="btn btn-success btn-sm">查询所有订单</a>
    <div ng-show="chaxun">
      <h4>您的所有订单信息如下：</h4>
      <table class="table table-bordered table-responsive table-striped table-hover">
        <thead>
        <tr class="active">
          <th>编号</th>
          <th>商品</th>
          <th>下单时间</th>
          <th>联系人</th>
        </tr>
        </thead>
        <tbody>
        <tr ng-repeat="vl in udata">
          <td>{{vl.oid}}</td>
          <td><img class="img-responsive" ng-src="img/{{vl.img_sm}}" title="{{vl.name}}"></td>
          <td>{{vl.order_time}}</td>
          <td>{{vl.user_name}}</td>
        </tr>
        </tbody>
      </table>
    </div>
  </div>
</div>

<div ng-include="'tpl/footer.html'"></div>